<template>
  <el-dialog title="审核流程" ref="dialog" :visible.sync="that.showBpmDialog" v-bind="$attrs" v-on="$listeners" :before-close="beforeClose" width="70%" height="70%">
    <iframe :src="that.bpmUrl" frameborder="0" width="100%" height="500px"></iframe>
  </el-dialog>
</template>

<script>
  export default {
    name: 'BaseBpm',
    props:{
      that:null
    },
    methods:{
      beforeClose(){
        this.$refs.dialog.hide()
      }
    }
  }
</script>
